<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>SingleMachineMaster</title>
    <meta name="keywords" content="singlemachine.SingleMachineMaster,SingleMachineMaster class" />
    <meta name="generator" content="SinjDoc 0.5" />
    <link href="../stylesheet.css" rel="stylesheet" type="text/css" />
    <link rel="Index" href="../index-all.html" />
    <link rel="Start" href="../overview-summary.html" />
    <link rel="Up" href="package-summary.html" />
    <link rel="Help" href="../help-doc.html" />
  </head>
  <body class="classPage bigframe">
   <div class="navbar">
    <p class="nav navtop">
      <span class="over"><a href="../overview-summary.html">Overview</a></span>
      <span class="package"><a href="package-summary.html">Package</a></span>
      <span class="class selected">Class</span>
      <span class="use"><a href="class-use/SingleMachineMaster.html">Use</a></span>
      <span class="tree"><a href="package-tree.html">Tree</a></span>
      <span class="deprecated"><a href="../deprecated-list.html">Deprecated</a></span>
      <span class="index"><a href="../index-all.html">Index</a></span>
      <span class="help"><a href="../help-doc.html">Help</a></span>
    </p>
    <p class="nav navmid">
      <span class="prevnext">
       <span class="prev">Prev Class</span>
       <span class="next">Next Class</span>
      </span>
      <span class="framesel">
       <span class="frames"><a href="../index.html" target="_top">Frames</a></span>
       <span class="noframes"><a href="SingleMachineMaster.html" target="_top">NoFrames</a></span>
      </span>
      <span class="allclasses"><a href="../allclasses-noframe.html">All Classes</a></span>
   </p>
   <p class="nav navbot">
      <span class="summary">Summary:
       <span class="nested">Nested</span>
       <span class="field"><a href="#field_summary">Field</a></span>
       <span class="constr">Constr</span>
       <span class="method"><a href="#method_summary">Method</a></span>
      </span>
      <span class="detail">Detail:
       <span class="field"><a href="#field_detail">Field</a></span>
       <span class="constr">Constr</span>
       <span class="method"><a href="#method_detail">Method</a></span>
      </span>
   </p>
    <div class="navtitle">
     
    </div>
    <p class="clear"><!--empty--></p>
   </div>
   <p class="packageName">singlemachine</p>
   <h1>  Class  SingleMachineMaster</h1>
<!--
   <p class="enclosing">
   Enclosing class/interface: @OUTER@
   </p>
-->


   <!-- XXX class hierarchy diagram goes here -->
<!--
   
   <p class="directSubclasses">
   Direct known subclasses: @ALL_SUBCLASSES@
   </p>
-->


   <p class="declaration">public
     class 
   <span class="className">SingleMachineMaster</span>
   
   
      
      <span class="extends">extends Object</span>
      
      
   
   </p>

   <div class="description">
    Handles loading of data, and tasking of distribution of learning across threads.
 
 This class is working as a job tracker in a hadoop system.
<p class="tag tag_author"><span class="tagName">Author:</span> <span class="tagContents">jake
</span> </p>

   </div>




   <table class="field_summary summary">
     <tr><th colspan="2"><a name="field_summary" id="field_summary">Field Summary</a></th></tr>

     <tr><td>static int[]</td><td><span class="memberName"><a href="#movies" class="fieldRef">movies</a></span><div class="memberDescription"></div></td></tr>



     <tr><td>static int</td><td><span class="memberName"><a href="#numRatings" class="fieldRef">numRatings</a></span><div class="memberDescription"></div></td></tr>



     <tr><td>static short[]</td><td><span class="memberName"><a href="#ratings" class="fieldRef">ratings</a></span><div class="memberDescription"></div></td></tr>



     <tr><td>static long[]</td><td><span class="memberName"><a href="#users" class="fieldRef">users</a></span><div class="memberDescription"></div></td></tr>

   </table>





   <table class="method_summary summary">
     <tr><th colspan="2"><a name="method_summary" id="method_summary">Method Summary</a></th></tr>

     <tr><td>static  void</td><td><span class="memberName"><a href="#Learn()" class="methodRef">Learn</a>()</span><div class="memberDescription">
 Splits learning process into several threads (internally),
 learns and updates Global feature vector.</div></td></tr>



     <tr><td>static  void</td><td><span class="memberName"><a href="#Load()" class="methodRef">Load</a>()</span><div class="memberDescription">
 Loads a file from globally defined paths</div></td></tr>



     <tr><td>static  void</td><td><span class="memberName"><a href="#shuffle(int[])" class="methodRef">shuffle</a>(int[] array)</span><div class="memberDescription">
 Randomize the order of elements in the given array.</div></td></tr>

   </table>



<!--
   <p class="inherited">
    <span class="header">Methods inherited from class java.util.<a
   href="AbstractCollection.html">AbstractCollection</a></span>
    <a href="#addAll">addAll</a>
    <a href="#contains">contains</a>
   </p>
   <p class="inherited">
    <span class="header">Methods inherited from class java.lang.<a
   href="Object.html">Object</a></span>
    <a href="#addAll">clone</a>
    <a href="#contains">finalize</a>
   </p>
   <p class="inherited">
    <span class="header">Methods inherited from interface java.util.<a
   href="List.html">List</a></span>
    <a href="#addAll">addAll</a>
    <a href="#contains">contains</a>
   </p>
-->



   <h2><a name="field_detail" id="field_detail">Field Detail</a></h2>

   <h3><a name="movies" id="movies">movies</a></h3>
   <div class="memberName">public static int[] movies</div>
   <div class="memberDescription"></div>


   <h3><a name="numRatings" id="numRatings">numRatings</a></h3>
   <div class="memberName">public static int numRatings</div>
   <div class="memberDescription"></div>


   <h3><a name="ratings" id="ratings">ratings</a></h3>
   <div class="memberName">public static short[] ratings</div>
   <div class="memberDescription"></div>


   <h3><a name="users" id="users">users</a></h3>
   <div class="memberName">public static long[] users</div>
   <div class="memberDescription"></div>






   <h2><a name="method_detail" id="method_detail">Method Detail</a></h2>

   <h3><a name="Learn()" id="Learn()">Learn</a></h3>
   <div class="memberName">public static  void Learn()</div>
   <div class="memberDescription">
 Splits learning process into several threads (internally),
 learns and updates Global feature vector.<p class="tag tag_throws"><span class="tagName">Throws:</span> <span class="tagContents">IOException</span> </p>
</div>


   <h3><a name="Load()" id="Load()">Load</a></h3>
   <div class="memberName">public static  void Load()</div>
   <div class="memberDescription">
 Loads a file from globally defined paths</div>


   <h3><a name="shuffle(int[])" id="shuffle(int[])">shuffle</a></h3>
   <div class="memberName">public static  void shuffle(int[] array)</div>
   <div class="memberDescription">
 Randomize the order of elements in the given array.<p class="tag tag_param"><span class="tagName">Parameters:</span> <span class="tagContents">array</span> </p>
</div>

   
   <div class="navbar">
    <p class="nav navtop">
      <span class="over"><a href="../overview-summary.html">Overview</a></span>
      <span class="package"><a href="package-summary.html">Package</a></span>
      <span class="class selected">Class</span>
      <span class="use"><a href="class-use/SingleMachineMaster.html">Use</a></span>
      <span class="tree"><a href="package-tree.html">Tree</a></span>
      <span class="deprecated"><a href="../deprecated-list.html">Deprecated</a></span>
      <span class="index"><a href="../index-all.html">Index</a></span>
      <span class="help"><a href="../help-doc.html">Help</a></span>
    </p>
    <p class="nav navmid">
      <span class="prevnext">
       <span class="prev">Prev Class</span>
       <span class="next">Next Class</span>
      </span>
      <span class="framesel">
       <span class="frames"><a href="../index.html" target="_top">Frames</a></span>
       <span class="noframes"><a href="SingleMachineMaster.html" target="_top">NoFrames</a></span>
      </span>
      <span class="allclasses"><a href="../allclasses-noframe.html">All Classes</a></span>
   </p>
   <p class="nav navbot">
      <span class="summary">Summary:
       <span class="nested">Nested</span>
       <span class="field"><a href="#field_summary">Field</a></span>
       <span class="constr">Constr</span>
       <span class="method"><a href="#method_summary">Method</a></span>
      </span>
      <span class="detail">Detail:
       <span class="field"><a href="#field_detail">Field</a></span>
       <span class="constr">Constr</span>
       <span class="method"><a href="#method_detail">Method</a></span>
      </span>
   </p>
    <div class="navtitle">
     
    </div>
    <p class="clear"><!--empty--></p>
   </div>
   <div class="bottom"></div>
   </body>
</html>
